package com.weilele.leisure.time.ui.holder


import android.view.View
import com.weilele.leisure.time.databinding.HolderVideoTagBinding
import com.weilele.mvvm.adapter.MvvmHolder
import com.weilele.mvvm.adapter.mvvmRcvAdapter
import com.weilele.mvvm.utils.activity.textFrom

class VideoTagHolder : MvvmHolder<String, HolderVideoTagBinding> {
    companion object {
        fun newInstance() = mvvmRcvAdapter(VideoTagHolder::class.java)
    }

    constructor(binding: HolderVideoTagBinding) : super(binding)
    constructor(itemView: View) : super(itemView)

    override fun bindData(data: String) {
        mBinding.root.textFrom(data)
    }
}